package com.ikingtech.platform.service.system.menu.configuration;

import com.ikingtech.framework.sdk.user.api.UserMenuApi;
import com.ikingtech.platform.service.system.menu.service.UserMenuService;
import com.ikingtech.platform.service.system.menu.service.repository.MenuRepository;
import org.springframework.context.annotation.Bean;

/**
 * @author tie yan
 */
public class MenuConfiguration {

    @Bean
    public UserMenuApi userMenuApi(MenuRepository repo) {
        return new UserMenuService(repo);
    }
}
